#include <iostream>
#include <cctype>
#include <climits>
#include <string>
using namespace std;

class Solution 
{
public:
    int atoi(const char *str)
	{
        // Start typing your C/C++ solution below
        // DO NOT write int main() function
        typedef unsigned long long ull;
		typedef unsigned int uint;
		while(*str == ' ')
			str++;
		//uint
		if(!*str || (!isdigit(*str) && (*str != '+') && (*str != '-')))
			return 0;
		
		int sign = 1;
		ull result = 0;
		if(*str=='+')
			str++;
		else if(*str == '-')
		{
			sign = -1;
			str++;
		}
		
		

		while(*str && isdigit(*str))
		{
			result *= 10;
			result += *str-'0';
			if(sign==1 && result>=(uint(1<<31)-1))
				return INT_MAX;
			else if(sign==-1 && result>=uint(1<<31))
				return INT_MIN;
			str++;
		}

		return int(sign * result);
		
	}
};

int main()
{
	/*string line;
	Solution s;
	while(getline(cin,line))
	{
		if(line=="")
			break;

		cout<<s.atoi(line.c_str())<<endl;
	}*/


	unsigned long long a = 1095502006;
	cout<<sizeof(a)<<" "<<(unsigned int(1<<31)-1);
	cin.get();
}